/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package server;

import server.http.HTTPServer;
import server.thread.HTTPServerPool;

/**
 *
 * @author Sérgio C. Peres
 * @author Guilherme Alves
 */
public class Launcher {
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Parametros par = new Parametros();
        
        par.setParametros(args);
        
        HTTPServer server = new HTTPServerPool(par.getPathDir(), par.getPort());
        server.run();
    } 
    
}